package cn.tedu.demo.mapper;

import cn.tedu.demo.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AdminMapper {
    @Select("select * from admins where name=#{name}")
    Admin selectByName(String name);
}
